package com.mxpio.erp.common.workshop.service;

import com.mxpio.erp.common.workshop.entity.*;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ScreenReportService {
	List<VWorkShopPassRateDetail> workShopPassRateMonthList();

	@Transactional
	List<VWorkShopPassRateDetail> workShopPassYearList();

	@Transactional
	List<VPurchaseinInspectUnqualified> purchaseinUnqualifiedTop5();

	@Transactional
	List<VMOExecuteSum> moExecuteSum();

	@Transactional
	Page<VMODelay> moDelayTop50(Pageable pageAble);

	@Transactional
	List<VPODelay> poExecuteDelaySum();

	@Transactional
	Page<VPurchaseOrderLineExecDtail> purchaseOrderLineExecDelayList(Pageable pageAble);

	@Transactional
	VMOCurMonFinishRate moCurMonFinishRate();

	@Transactional
	List<VWorkShopCurMonFinishRate> workShopCurMonFinishRate();
}
